<script lang="ts">
export default {
  setup() {
    const route = useRoute();
    const router = useRouter();
    // 这里的params是啥
    router.replace({
      path: "/" + route.params.path,
      query: route.query
    });
  },
  render() {
    return h("template");
  }
};
</script>
